<div class="title"><p>公司信息</p></div>
<% remote_form_for :valleyer,
  :update => :company,
  :url => valleyers_show_personal_infos_show_company_info_url(@valleyer),
  :method => :put,
  :html => {
  :id => 'edit_valleyer_form'
  } do |f| %>
  <div class="message">
    <dl><dt>公&nbsp;&nbsp;&nbsp;&nbsp;司：</dt><dd><%= f.text_field :company, :class => 'text' %></dd></dl>
    <dl><dt>工作时间：</dt><dd><%= f.text_field :start_year %>&nbsp;年&nbsp;&nbsp;-&nbsp;&nbsp;
                              <%= f.text_field :end_year %>&nbsp;年</dd></dl>
    <dl><dt>描&nbsp;&nbsp;&nbsp;&nbsp;述：</dt><dd><%= f.text_field :description, :class => 'text' %></dd></dl>
    <div class="button">
      <%= link_to_function image_tag('valleyer/submit_1.jpg'), '$("edit_valleyer_form").onsubmit()' %>
      <%= link_to_remote image_tag('valleyer/cancel.jpg'),
        :update => :company,
        :url => valleyers_show_personal_infos_show_company_info_url(@valleyer),
        :method => :get
      %>
    </div>
  </div>
<% end %>
